/**数据交换
 * Auth login 验证登录 roles 验证登录且验证权限
 * **/
import demandLayout from '@/views/layout/Layout'
const etlRouter = {
    path: '/etl',
    component: demandLayout,
    redirect: '/etl/index',
    name:'etl',
    meta: {parent:"etl",title:"数据交换",Auth:'login'},
    children: [
        {
            path: '/etl/index',
            component: () => import('@/views/etl/index'),
            name: 'etlndex',
            meta: {title: '首页', Auth: "login",icon:"daohang"}
        },
        {
            path: '/etl/repository',
            component: () => import('@/views/etl/repository'),
            name: 'DemandPlan',
            meta: { title: '资源库管理',icon:"repository" ,divided:true, desc: "",
                Auth: "010100"}
        },
        {
            path: '/etl/database',
            component: () => import('@/views/etl/database/list'),
            name: 'DatabaseList',
            meta: { title: '数据库管理',icon:"database" ,divided:true, desc: "创建、维护数据库连接",
                Auth: "010100"}
        },
        {
            path: '/etl/trans',
            component: () => import('@/views/etl/trans'),
            name: 'ETLTrans',
            meta: { title: '转换管理',icon:"sbsp", desc: "",Optional:true,
                Auth:'010200'}
        },
         
    ]
}

export default etlRouter

//Optional 可选模块
